<#macro layout scripts styles module title basePath="${basePath}" frontPath="${frontPath}">
<!DOCTYPE html>
<html>
<head>
<link rel="shortcut icon" href="${basePath}static/img/favicon.ico" type="image/x-icon">
<meta http-equiv="X-UA-Compatible" content="IE=8"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${platform}-${title}</title>
<link rel="stylesheet" type="text/css" href="${basePath}static/css/css.css">
<link rel="stylesheet" type="text/css" href="${basePath}static/css/tabulous.css">
<link rel="stylesheet" href="${basePath}static/css/lottery.css"> 
<link rel="stylesheet" href="${basePath}static/css/downtime/dark.css">
<link rel="stylesheet" href="${basePath}static/css/slider/slider.css">
<link rel="stylesheet" href="${basePath}static/css/box.css">
<script type="text/javascript">
window.frontPath="${frontPath!}";	//静态资源路径
window.basePath = "${basePath!}";	//CGI动态路径
window.platform="${platform!}";//平台名称
</script>
</head>
<body>
	<#include "./common/box.html">
	<!-- 头部开始 -->
	<#include "include/header.html">
	<!-- 头部结束 -->
	<#include "template/home_template.html">
	<div class="main" id="content-main">
		<div class="main-top"></div>
		<div class="main-box"> 
			<div class="layout ddtbjk">
			    <div class="banner">
				<div id="kinMaxShow">
					<div>
						<a href="${basePath}home#/notice/announcement"> <img
							src="${basePath}static/img/home/banner.png" class="img-grid" />
						</a>
					</div>
					<div>
						<a href="${basePath}home#/notice/announcement"> <img
							src="${basePath}static/img/home/ad.png" class="img-grid" />
						</a>
					</div>
				</div>
		    	</div>
			   <div class="clearfix"></div>
				<!-- 右边菜单开始 -->
				<#include "include/leftmenu.html">
				<!-- 右边菜单结束 -->
				<!-- 中间内容区域开始 -->
				<div class="content fr" id="content-lottery"><#nested basePath></div>
				<!-- 中间内容区域结束 -->
			</div>
		</div>
	</div>
	<!-- 尾部开始 -->
	<#include "include/footer.html">
	<!-- 尾部结束 -->
    <script charset="UTF-8" src='${basePath}static/js/lib/jquery-1.10.2.js'></script> 
	<script charset="UTF-8" src="${basePath}static/js/lib/moment.min.js"></script>
	<script charset="UTF-8" src="${basePath}static/js/lib/jquery.hotkeys-0.7.9.js"></script>
	<script charset="UTF-8" src="${basePath}static/js/lib/jquery_livequery.js"></script>
	<script charset="UTF-8" src="${basePath}static/js/lib/template.js"></script>
	<script charset="UTF-8" src="${basePath}static/js/lib/director/director.js"></script>
	<script charset="UTF-8" src="${basePath}static/js/router.js"></script>
	<script src="${basePath}static/js/lib/slider/slider.js"></script>
	<script src="${basePath}static/js/lib/math.js"></script>
	<script src="${basePath}static/js/lib/downtime/lwtCountdown.js"></script>
	<script src="${basePath}static/js/lib/common.js"></script>
	<script src="${basePath}static/js/common_lottery.js"></script>
	<script type="text/javascript"  src="${basePath}static/js/lib/jquery.jcryption-1.1.js"></script>
	<script type="text/javascript"  src="${basePath}static/js/layout.js"></script>
    <script src="${basePath}static/js/common_lottery.js"></script>
</body>
</html>
</#macro>
